package org.codeart.chainrespon.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 审核信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AuthInfo {

    // 状态码
    private String code;

    // 审核相关信息
    private String info = "";

    public AuthInfo(String code, String... infoArr) {
        this.code = code;
        for (String s : infoArr) {
            this.info = this.info.concat(s).concat(" ");
        }
    }
}
